package com.aigou.admin.dao;

import com.aigou.admin.entity.Product;

import java.util.List;

/**
 * @Author: Hor
 * @Date: 2024/11/29 15:21
 * @Version: 1.0
 */
public interface ProductDao {

    List<Product> selectAll();

    Product selectById(String id);

    List<Product> selectByName(String product_name);

    Boolean insert(Product product);

    Boolean update(Product product);

    Boolean delete(String id);

    Integer selectProductCount();


    List<Product> selectProductByLimit(Integer start, Integer limit);
}
